import request from "../service/request";
// 创建游戏记录
export function createRecord(data) {
    return request({
        url: "/game/record/add",
        method: "post",
        data
    })
}
// 修改游戏记录
export function updateRecord(data) {
    return request({
        url: "/game/record/update",
        method: "post",
        data
    })
}
// 获取关卡详情
export function levelInfo(data) {
    return request({
        url: "/game/info/info",
        method: "post",
        data
    })
}

